#!/bin/sh

ISSUEURL="${1}"

printf "Fetching issue... ${ISSUEURL}\n"
issueid="$(basename "${ISSUEURL}")"
gh issue view "${issueid}" --json title,body,labels,author,number,createdAt,closed >"intel/LM${issueid}.json"
